/*
 * Copyright [2024] [LEE]
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package etc.config.enums;

import lombok.Getter;

/**
 * answer Code 枚举定义
 *
 * <p>@author：lee</p>
 * DateTime：2024-10-22 14:47
 */
@Getter
public enum AnsCode {
    CODE_00("00", "成功"),
    CODE_01("01", "图片上传失败"),
    CODE_02("02", "用户登录校验失败"),
    CODE_03("03", "该证件已存在客户信息，若是单位客户可以分部门创建"),
    CODE_04("04", "修改时用户ID不能为空"),
    CODE_05("05", "新增的车牌号已经存在"),
    CODE_06("06", "OBU号不存在"),
    CODE_07("07", "OBU号已存在"),
    CODE_08("08", "分配金额大于账户余额"),
    CODE_09("09", "三方前置机失败"),
    CODE_10("10", "快通卡查询错误"),
    CODE_11("11", "快通卡已列入黑名单"),
    CODE_12("12", "快通卡已挂失"),
    CODE_13("13", "快通卡已注销"),
    CODE_14("14", "应答超时"),
    CODE_15("15", "该卡不需要延期"),
    CODE_16("16", "快通卡不可用"),
    CODE_17("17", "余额不足"),
    CODE_18("18", "车牌号不存在"),
    CODE_19("19", "车牌号查询错误"),
    CODE_20("20", "银行账户不存在"),
    CODE_21("21", "签约关系已存在"),
    CODE_22("22", "签约关系不存在"),
    CODE_23("23", "停止代理"),
    CODE_24("24", "银行账户状态有误"),
    CODE_25("25", "流水号重复"),
    CODE_26("26", "金额不符"),
    CODE_27("27", "记录数不符"),
    CODE_28("28", "银行流水号重复"),
    CODE_29("29", "解约失败"),
    CODE_30("30", "密钥申请失败"),
    CODE_31("31", "银行发行失败"),
    CODE_32("32", "流水号不存在"),
    CODE_33("33", "发票打印失败"),
    CODE_34("34", "发票重打印失败"),
    CODE_35("35", "发票号重复"),
    CODE_36("36", "充值发票重打印旧票号重复"),
    CODE_37("37", "终端不存在"),
    CODE_38("38", "终端不可用"),
    CODE_39("39", "终端未签到"),
    CODE_40("40", "不满足一车一卡"),
    CODE_41("41", "快通卡已发行"),
    CODE_42("42", "快通卡加入黑名单失败"),
    CODE_43("43", "用户证件不符"),
    CODE_44("44", "被补卡的原卡号不存在"),
    CODE_45("45", "联名卡补发失败"),
    CODE_46("46", "MD5校验不通过"),
    CODE_47("47", "解密错误"),
    CODE_48("48", "未找到指定文件"),
    CODE_49("49", "此流水已经打印，请使用重打功能"),
    CODE_50("50", "没有需要打印的数据"),
    CODE_51("51", "时间不对,不能打印"),
    CODE_52("52", "设备不存在或不可用"),
    CODE_53("53", "修改密码失败"),
    CODE_54("54", "密码不符"),
    CODE_55("55", "用户号不存在"),
    CODE_56("56", "账户余额查询失败"),
    CODE_57("57", "账户金额分配失败"),
    CODE_58("58", "此用户不存在车辆明细"),
    CODE_59("59", "账户余额错误"),
    CODE_60("60", "此车辆已发行ETC卡"),
    CODE_61("61", "此号段卡密钥申请未经许可"),
    CODE_62("62", "处理一发密钥申请文件失败"),
    CODE_63("63", "处理一发密钥结果文件失败"),
    CODE_64("64", "处理二发信息结果文件失败"),
    CODE_65("65", "该银行卡是信用卡黑名单数据,不允许签约"),
    CODE_66("66", "银行账户状态检查失败"),
    CODE_67("67", "卡状态不正常"),
    CODE_68("68", "账户状态不正常"),
    CODE_69("69", "挂失状态不正常"),
    CODE_70("70", "冻结状态不正常"),
    CODE_71("71", "输入证件号码和银行记录不符"),
    CODE_72("72", "输入有效期错误"),
    CODE_73("73", "与签约时登记信息不符"),
    CODE_74("74", "签约状态不正常"),
    CODE_75("75", "已解约"),
    CODE_76("76", "银行卡与ETC卡客户姓名不符"),
    CODE_77("77", "银行卡与ETC卡客户证件号码不符"),
    CODE_78("78", "银行卡客户姓名与银行登记信息不符"),
    CODE_79("79", "银行卡客户证件号码与银行登记信息不符"),
    CODE_80("80", "该银行卡暂不支持办理ETC业务"),
    CODE_81("81", "银行账户黑名单"),
    CODE_82("82", "该银行卡存在核销账户，不允许办理ETC业务"),
    CODE_83("83", "银行卡状态异常"),
    CODE_84("84", "银行卡授信额度较低"),
    CODE_85("85", "可用额度低于3000元，请还款后办理"),
    CODE_86("86", "此卡片信息不存在"),
    CODE_87("87", "该订单已存在"),
    CODE_88("88", "OBU未进行一发"),
    CODE_89("89", "监管平台无相应数据"),
    CODE_90("90", "签到失败"),
    CODE_91("91", "充值失败"),
    CODE_92("92", "对账文件解析失败"),
    CODE_93("93", "冲正失败"),
    CODE_94("94", "未获取加密因子"),
    CODE_95("95", "MAC1错误"),
    CODE_96("96", "MAC计算失败"),
    CODE_97("97", "设备校验失败"),
    CODE_98("98", "账户充值失败"),
    CODE_99("99", "其它错误");

    private final String code;

    private final String message;

    AnsCode(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
